package cn.tedu.icop.user.service.impl;
import cn.tedu.icop.user.dao.repository.UserRepository;
import cn.tedu.icop.user.service.UserService;
import cn.tedu.icop.api.domain.ChargingUser;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    private UserRepository userRepository;
    public UserServiceImpl(UserRepository userRepository) {
        this.userRepository = userRepository;
    }
    @Override
    public Integer getUserBindVehicleId(Integer userId) {
        Integer vehicleId = userRepository.selectUserVehicleId(userId);
        return vehicleId;
    }
}
